package com.yubest.mongodb.bean;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @Author: hweiyu
 * @Date: 2023/11/1 16:09
 */
@Data
@Document("User")
public class UserInfo {

    @Id
    private String id;

    private String name;

    private Integer age;

    private String email;

    private String createDate;
}
